package cn.six1943.deepchat.module.ai.agent;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class ModelWithKey {

    /**
     * 数据类型1系统2用户
     */
    @Schema(description = "数据类型1系统2用户")
    private Integer dataType;
    /**
     * api-key
     */
    @Schema(description = "api-key")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long keyId;
    /**
     * 提供商API类型
     */
    @Schema(description = "提供商API类型")
    private String providerType;
    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;
    /**
     * 标识
     */
    @Schema(description = "标识")
    private String code;
    /**
     * base_url
     */
    private String baseUrl;
    /**
     * api_version
     */
    @Schema(description = "api_version")
    private String apiVersion;
    /**
     * api_region
     */
    @Schema(description = "api_region")
    private String apiRegion;
    /**
     * api_ak
     */
    @Schema(description = "api_ak")
    private String apiAk;
    /**
     * api_sk
     */
    @Schema(description = "api_sk")
    private String apiSk;
}
